package oa.hleast.xswl.pojo.domain.place;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author 302
 * @description
 * @date 2021/3/12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("cms_place_type")
public class CmsPlaceType extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String typeName;
    private Long parentsTypeId;
    private Integer typeLevel;
    private Integer display;
    private Integer sort;
    private String imageLabelUrl;
    private String imageLabelHighlightUrl;
    private String imageMapUrl;

    @ApiModelProperty("自动生成的菜单Id")
    private Long menuId;
    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Long deleted;
}
